import Vue from "vue";
import VueRouter from "vue-router";
Vue.use(VueRouter);

import Home from "../views/Home/Home";
import My from "../views/My/My";
import Detail from "../views/Detail/Detail";
import Order from "../views/Order/Order";
const router = new VueRouter({
  routes: [
    {
      path: "/home",
      component: Home,
    },
    {
      path: "/my",
      component: My,
    },
    {
      name: "detail",
      path: "/detail",
      component: Detail,
    },
    {
      name: "order",
      path: "/order",
      component: Order,
    },
  ],
});
export default router;
